FROM openjdk:8-jdk
MAINTAINER docker_user docker_user@email.com
RUN mkdir /opt/app
COPY nettty-mc-server-1.0.0-SNAPSHOT.jar /opt/app

WORKDIR /opt/app

ENV BLOCKCHAIN_ENVIRONMENT=DOCKER
EXPOSE 8080
CMD ["java", "-jar", "nettty-mc-server-1.0.0-SNAPSHOT.jar"]
